﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="GebruikersBeheer.ascx.cs"
    Inherits="BackEndSystemWebTv.Controls.GebruikersBeheer" %>
<style type="text/css">
    .style5
    {
        width: 253px;
    }
    .style6
    {
        width: 217px;
    }
</style>
<asp:ScriptManagerProxy ID="smProxy" runat="server">
</asp:ScriptManagerProxy>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <table style="width: 100%; margin-right: 0px;">
            <tr>
                <td class="style5" colspan="2">
                    <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" OnCreatedUser="CreateUserWizard1_CreatedUser"
                        BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderStyle="Solid" BorderWidth="1px"
                        ConfirmPasswordCompareErrorMessage="Wachtwoord en bevestig wachtwoord moeten overeen komen"
                        ConfirmPasswordLabelText="Bevestig wachtwoord:" ConfirmPasswordRequiredErrorMessage="Bevestig wachtwoord"
                        CreateUserButtonText="Voeg gebruiker toe" DuplicateEmailErrorMessage="Ingevoerde e-mailadres bestaat al."
                        DuplicateUserNameErrorMessage="Gebruikersnaam bestaat al" EmailRegularExpressionErrorMessage="Voer een ander email adres in"
                        EmailRequiredErrorMessage="E-mail is verplicht" Font-Names="Verdana" Font-Size="0.8em"
                        InvalidEmailErrorMessage="Voer een bestaand e-mail adres in" InvalidPasswordErrorMessage="Wacht moet minimaal {0} karakters lang zijn. Minimaal aantal non-alphanumeriek karakter: {1}."
                        LoginCreatedUser="False" OnContinueButtonClick="CreateUserWizard1_ContinueButtonClick"
                        PasswordLabelText="Wachtwoord:" PasswordRegularExpressionErrorMessage="Voer een ander wachtwoord in"
                        PasswordRequiredErrorMessage="Wachtwoord is vereist" UnknownErrorMessage="Account niet gemaakt. Probeer opnieuw."
                        UserNameLabelText="Gebruikersnaam:" UserNameRequiredErrorMessage="." Width="250px">
                        <ContinueButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                            BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98" />
                        <CreateUserButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                            BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98" />
                        <TitleTextStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <WizardSteps>
                            <asp:CreateUserWizardStep runat="server" Title="Voeg account toe" />
                            <asp:CompleteWizardStep runat="server" AllowReturn="False">
                                <ContentTemplate>
                                    <table>
                                        <tr>
                                            <td align="center" valign="top">
                                                Voltooid!
                                            </td>
                                        </tr>
                                        <tr>
                                            <td valign="top">
                                                Account succesvol gemaakt!
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" valign="top">
                                                <asp:Button ID="ContinueButton" runat="server" BackColor="White" BorderColor="#507CD1"
                                                    BorderStyle="Solid" BorderWidth="1px" CausesValidation="False" CommandName="Continue"
                                                    Font-Names="Verdana" ForeColor="#284E98" Text="Volgende" ValidationGroup="CreateUserWizard1" />
                                            </td>
                                        </tr>
                                    </table>
                                </ContentTemplate>
                            </asp:CompleteWizardStep>
                        </WizardSteps>
                        <FinishNavigationTemplate>
                            <asp:Button ID="FinishPreviousButton" runat="server" BackColor="White" BorderColor="#507CD1"
                                BorderStyle="Solid" BorderWidth="1px" CausesValidation="False" CommandName="MovePrevious"
                                Font-Names="Verdana" ForeColor="#284E98" Text="Previous" />
                            <asp:Button ID="FinishButton" runat="server" BackColor="White" BorderColor="#507CD1"
                                BorderStyle="Solid" BorderWidth="1px" CommandName="MoveComplete" Font-Names="Verdana"
                                ForeColor="#284E98" Text="Finish" />
                        </FinishNavigationTemplate>
                        <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px"
                            Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />
                        <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                            BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98" />
                        <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
                        <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" />
                        <StartNavigationTemplate>
                            <asp:Button ID="StartNextButton" runat="server" BackColor="White" BorderColor="#507CD1"
                                BorderStyle="Solid" BorderWidth="1px" CommandName="MoveNext" Font-Names="Verdana"
                                ForeColor="#284E98" Text="Next" />
                        </StartNavigationTemplate>
                        <StepStyle Font-Size="0.8em" />
                    </asp:CreateUserWizard>
                    <br />
                    <asp:Label ID="lblSendResult" runat="server"></asp:Label>
                </td>
                <td style="text-align: left" class="style6" valign="top">
                    Selecteer platform(s):<asp:CheckBoxList runat="server" ID="cblSocialM" Width="225px">
                        <asp:ListItem>Facebook</asp:ListItem>
                        <asp:ListItem>Twitter</asp:ListItem>
                        <asp:ListItem>WindowsLiveMessenger</asp:ListItem>
                        <asp:ListItem>Gmail</asp:ListItem>
                        <asp:ListItem>Youtube</asp:ListItem>
                    </asp:CheckBoxList>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblLeden" runat="server" Text="Leden:"></asp:Label> <br />
                    <asp:DropDownList ID="ddlGebruikers" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlGebruikers_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:Label ID="lblGStatus" runat="server"></asp:Label>
                    <br />
                    <asp:Button ID="btnDelete" runat="server" BackColor="White" BorderColor="#507CD1"
                        BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98"
                        OnClick="btnDelete_Click" Text="Verwijder" OnClientClick="return confirm('Deze actie zorgt ervoor dat alle logs van deze gebruiker verwijderd worden!');" />
                    &nbsp;<asp:Button ID="btnUitschakelen" runat="server" OnClick="btnUitschakelen_Click"
                        BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
                        Font-Names="Verdana" ForeColor="#284E98" Text="Button" />
                    <br />
                    <asp:Label ID="lblDeleteResult" runat="server"></asp:Label>
                </td>
                <td colspan="2">
                    <asp:Repeater ID="GebruikersRollen" runat="server">
                        <ItemTemplate>
                            <asp:CheckBox ID="cbRol" runat="server" AutoPostBack="true" OnCheckedChanged="veranderRol"
                                Text="<%# Container.DataItem %>" />
                            <br />
                        </ItemTemplate>
                    </asp:Repeater>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:PasswordRecovery ID="PasswordRecovery1" runat="server" BackColor="#EFF3FB" BorderColor="#B5C7DE"
                        BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana"
                        Font-Size="0.8em" GeneralFailureText="Wachtwoord ophalen mislukt. Probeer opnieuw."
                        OnSendingMail="PasswordRecovery1_SendingMail" SubmitButtonText="Verzenden" SuccessText="Wachtwoord is verzonden!"
                        UserNameFailureText="Niet mogelijk om aan informatie te komen." UserNameInstructionText="Vul een gebruikersnaam in"
                        UserNameLabelText="Gebruikersnaam:" UserNameRequiredErrorMessage="Gebruikersnaam is vereist."
                        UserNameTitleText="Nieuw wachtwoord verzenden" Width="250px">
                        <SubmitButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
                            Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
                        <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
                        <MailDefinition From="timo.hermans@gmail.com">
                        </MailDefinition>
                        <SuccessTextStyle Font-Bold="True" ForeColor="#507CD1" />
                        <TextBoxStyle Font-Size="0.8em" />
                        <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
                    </asp:PasswordRecovery>
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
